﻿
using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reflection;

namespace MedLink2011.Core {

    public abstract class ViewModelBase : INotifyPropertyChanged 
    {

        public bool IsDesignTime
        {
            get { return DesignerProperties.IsInDesignTool; }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }


    }
}
